<!-- $Id: category_list.htm 17019 2010-01-29 10:10:34Z liuhui $ -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>ECSHOP 管理中心 - 文章管理 </title>
<meta name="robots" content="noindex, nofollow">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="{{asset('admin/Styles/general.css')}}" rel="stylesheet" type="text/css" />
<link href="{{asset('admin/Styles/main.css')}}" rel="stylesheet" type="text/css" />
</head>
<body>
<h1>
    <span class="action-span"><a href="{{url('')}}">添加链接</a></span>
    <span class="action-span1"><a href="__GROUP__">ECSHOP 管理中心</a></span>
    <span id="search_id" class="action-span1"> - 链接添加 </span>
    <div style="clear:both"></div>
</h1>
<form method="post" action="" name="listForm">
    <div class="list-div" id="listDiv">
        <table width="100%" cellspacing="1" cellpadding="2" id="list-table">
		
            <tr>
                <th>文章Id</th>
                <th>文章标题</th>
                <th>添加时间</th>
                <th>操作</th>
            </tr>
            @foreach($article as $a)
            <tr align="center" class="0">
                <td> {{$a->aid}}</td>
                <td> <a href="">{{$a->title}}</a></td>
                <td> {{date('Y-m-d H:i:s',$a->pubtime)}}</td>
                <td width="30%" align="center">
                    <a href="{{url('edit_article',['aid'=>$a->aid])}}">编辑</a> |
                    <a href="{{url('del_article',['aid'=>$a->aid])}}">移除</a>
                </td>
            </tr>
            @endforeach
        </table>
    </div>
</form>
<!-- 分页开始 -->
<style>
    ul{
        margin:20px auto;
        overflow: hidden;
        width:300px;
    }
    .pagination li{
        list-style:none;
        line-height: 20px;
        text-align: center;
        float:left;
        width:50px;
        height:20px;
        background: #BBDDE5;
        margin:2px;
    }
    .pagination li.active{
        background: greenyellow;
    }
</style>
<table id="page-table" cellspacing="0">
    <tr>
        <td align="center" nowrap="true">
            
        </td>
    </tr>
    {!!$article->render()!!}
<!-- 分页结束 -->
<div id="footer">
共执行 1 个查询，用时 0.055904 秒，Gzip 已禁用，内存占用 2.202 TB<br />
版权所有 &copy; 2005-2012 北京最强王者网络科技有限公司，并保留所有权利。</div>
</body>
</html>